var InputMethod = ProgressiveObject.extend({
	// variable to point to GownFull object
	ime: null,
	// constructor for the input method
	constructor: function()
	{
	},
	/* IMName: This function should return the display name of
	   the input method.
	*/
	IMName: function()
	{
		return 'BaseClass';
	},
	/* keydown_handler: 
           This function should process for the HTML element onKeyDown event.
           obj - The HTML object that triggers the event.
           key - The code of the key.

           return true if the key is not handled by the InputMethod.
           return false if the key is handled by the InputMethod.
	*/
	keydown_handler: function(obj,key) 
	{
		return true;
	},
	/* keyup_handler: 
           This function should process for the HTML element onKeyUp event.
           obj - The HTML object that triggers the event.
           key - The code of the key.

           return true if the key is not handled by the InputMethod.
           return false if the key is handled by the InputMethod.
	*/
	keyup_handler: function(obj,key)
	{
		return true;
	},
	/* keypress_handler: 
           This function should process for the HTML element onKeyPress event.
           obj - The HTML object that triggers the event.
           key - The code of the key.

           return true if the key is not handled by the InputMethod.
           return false if the key is handled by the InputMethod.
	*/
	keypress_handler: function(obj,key) 
	{
		return true;
	},
	/* onActive:
	   This function is called when the user select this InputMethod
	*/
	onActive: function()
	{
		return true;
	},
	/* onDeactive:
	   This function is called when the user select another InputMethod (or disabled)
	*/
	onDeactive: function()
	{
		return true;
	}
});
